<?php

class Model_Order extends Zend_Db_Table_Row
{
	public function getArtwork(){
		$table = new Model_DbTable_ArtWork();
		return $table->fetchRow("id = $this->artwork_id");
	}
	
	public function getCustomer(){
		$table = new Model_DbTable_Customer();
		return $table->fetchRow("id = $this->customer_id");
	}

}

